package com.xuelangyun.form.exterauth.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuelangyun.form.exterauth.entity.SysExterAppApiEntity;
import com.xuelangyun.form.common.utils.PageUtils;


/**
 * ${comments}
 *
 * @author weiqing.hk
 * 
 * @date 2024-05-25 14:06:47
 */
public interface ISysExterAppService extends IService<SysExterAppApiEntity> {

    PageUtils queryPage(SysExterAppApiEntity SysExterApp , PageUtils page );
    
    /**
     * 生成或者更新回填app的ak和sk
     * @param appId 三方应用ID
     * @return
     */
    String[] generateAppKey(String appId);
    
    /**
     * 根据AK 和SK 查询
     * @param ak
     * @param sk
     * @return
     */
    SysExterAppApiEntity queryByAkSk(String ak , String sk);
    
}

